package com.softwarerusher.model;

/**
 * TStock entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TStock implements java.io.Serializable {

	// Fields

	private TStockId id;
	private Integer stockSum;

	// Constructors

	/** default constructor */
	public TStock() {
	}

	/** full constructor */
	public TStock(TStockId id, Integer stockSum) {
		this.id = id;
		this.stockSum = stockSum;
	}

	// Property accessors

	public TStockId getId() {
		return this.id;
	}

	public void setId(TStockId id) {
		this.id = id;
	}

	public Integer getStockSum() {
		return this.stockSum;
	}

	public void setStockSum(Integer stockSum) {
		this.stockSum = stockSum;
	}

}